#include <ESP8266WiFi.h>
#include "mysql_aliyun.h"

const char* ssid = "鑫青年";
const char* password1 = "guoxin0814..";

void setup(void)
{
  Serial.begin(9600);
  WiFi.begin(ssid, password1);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("");
  Serial.println("WiFi connected");
  if(Mysql_judge_connect()){
    Serial.println("1234");
  }
  else{
     Serial.println("shibai");
  }

}
       
void loop() {

  char tem[5] = "12.4", hum[4] = "77", lig[4]="11";
  Send_info(tem, hum, lig);
  delay(5000);
}
